
const PACKAGE_NAME = process.env.npm_package_name || 'vue'
module.exports = {
  devServer: { 
    port: 8081,
    disableHostCheck: true,
    headers: {
      'Access-Control-Allow-Origin': '*',
    },
  },
  configureWebpack : {
    output: {
      library: PACKAGE_NAME,
      libraryTarget: 'umd',
      jsonpFunction: `webpackJsonp_${PACKAGE_NAME}`,
    },
  }
};